package com.filldream.fastboot.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.filldream.fastboot.common.stockUtils.cffex.entity.StockIndexFuture;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.util.List;

public interface StockIndexFuturesMapper extends BaseMapper<StockIndexFuture> {

    @Select("SELECT partyid, shortname FROM `stock_index_future` GROUP BY partyid, shortname ORDER BY partyid ASC")
    List<StockIndexFuture> getFuturesPartyList();

    int insertBatch22(@Param("list") List<StockIndexFuture> list);

}
